package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import javax.persistence.Column;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_network_disk")
public class NetworkDisk implements Serializable {

    @Id
    @Column(name = "uid")
    private String uid;

    @Column(name = "admin_uid")
    private String adminuid;
    @Column(name = "extend_name")
    private String extendName;
    @Column(name = "file_name")
    private String fileName;
    @Column(name = "file_path")
    private String filePath;
    @Column(name = "file_size")
    private int fileSize;
    @Column(name = "is_dir")
    private int isDir;
    @Column(name = "status")
    private byte status;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;
    @Column(name = "local_url")
    private String localUrl;
    @Column(name = "qi_niu_url")
    private String qiNiuUrl;
    @Column(name = "file_old_name")
    private String fileOldName;

}